#ifndef COMPLETEFILEMANAGER_H
#define COMPLETEFILEMANAGER_H

#include <QWidget>
#include <QTableWidgetItem>

namespace Ui {
    class CompleteFileManager;
}

class CompleteFileManager : public QWidget {
    Q_OBJECT
public:
    CompleteFileManager(QWidget *parent = 0);
    ~CompleteFileManager();

	void addCompleteFile(const QString& filePath, long long fileSize);
private slots:
	void onItemDoubleClicked(QTableWidgetItem* item);
	void onShowFolderAction();
	void onOpenFileAction();
private:
	void setupWidgets();
	void setupSignals();
protected:
    void changeEvent(QEvent *e);
private:
    Ui::CompleteFileManager *ui;
	QAction* m_OpenFileAction;
	QAction* m_ShowFolderAction;
};

#endif // COMPLETEFILEMANAGER_H
